package pacman;

/**
 * A interface for basic spaces in this pacman game.
 */
public interface iCase {
    
    /**
     * Says if the case is accessible for the caller.
     * @param   caller  the caller of method
     * @return  true if the caller can acces to the case, otherwise false
     */
    public boolean isAccessible(Object caller);
    
    /**
     * Does the access to the case.
     * @param   pacman  the pacman who accesses the case
     */
    public void Access(cPacman pacman);
    
    /**
     * Returns the name of the image to be loaded on the grid.
     * @return  The name of the image to load on the grid.
     */
    public String getImageName();
}
